Implement wfh functions
authorMatthias Clasen <mclasen@redhat.com>
Fri, 10 Jan 2014 22:43:42 +0000 (17:43 -0500)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 22 Jan 2014 16:10:06 +0000 (17:10 +0100)
commitea0a1e31a7449a74d3b2ad98b92dbebdfa36f22d
treeeacd99b752a54a22d057b9394edb74c9cf0abd36
parente8fa9e18517762357d726432e2784f972891d3a5
Implement wfh functions

With only get_preferred_width and get_preferred_height implemented,
we end up calling the GtkBin height_for_width implmementation, which
knows nothing about the margins and paddings that GtkPopover needs.
As a result, a listbox added to a popover was getting cut off
at the bottom.
gtk/gtkpopover.c